package com.demo.infrastructure.gateway.dto;

import lombok.Data;

import java.util.Collections;
import java.util.List;

/**
 * CSDN文章保存请求参数 实际请求完整参数
 */
@Data
public class CSDNArticleRequest {
    // 文章标题
    private String title;
    // 文章内容
    private String markdowncontent;
    private String content;
    private String readType = "public";
    private String level = "0";
    // 文章标签
    private String tags;
    // 文章状态：0-草稿，1-发布
    private Integer status = 0;
    // 文章分类
    private String categories;
    // 文章类型
    private String type = "original";
    private String original_link = "";
    private Boolean authorized_status = false;
    // 文章简介
    private String Description;
    private String resource_url = "";
    private String not_auto_saved = "1";
    private String source = "pc_mdeditor";

    private List<String> cover_images = Collections.emptyList();
    private Integer cover_type = 0;
    private Integer is_new = 1;
    private Integer vote_id = 0;
    private String resource_id = "";
    private String pubStatus = "draft";
    private Integer sync_git_code = 0;
}
